package com.cskaoyan.service.admin;

import com.cskaoyan.bean.MarketIssue;
import com.cskaoyan.bean.param.BaseParam;
import com.cskaoyan.bean.param.CommonData;

public interface AdminIssueService {

    //展示指定页数的通用问题
    CommonData<MarketIssue> queryCommonIssueByBaseParamAndQuestion(String question, BaseParam baseParam);

    //创建通用问题
    MarketIssue createCommonIssue(String question, String answer);

    //更新通用问题
    MarketIssue updateCommonIssue(MarketIssue marketIssue);

    //删除通用问题信息
    void deleteCommonIssue(MarketIssue marketIssue);
}
